package com.example.tourpal.model;

import java.io.Serializable;

public class Comment implements Serializable {
	private static final long serialVersionUID = 1L;
	private String createTime;
	private int planId;
	private String planComment;
	private int userId;
	private String userNikeName;

	public Comment() {
	}

	public Comment(String createTime, int id, String planComment, int userId,
			String userNikeName) {
		super();
		this.createTime = createTime;
		this.planId = id;
		this.planComment = planComment;
		this.userId = userId;
		this.userNikeName = userNikeName;
	}

	public String getCreateTime() {
		// return LocalDataLoaderHelp.shortTime(createTime);
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public int getPlanId() {
		return planId;
	}

	public void setPlanId(int id) {
		this.planId = id;
	}

	public String getPlanComment() {
		return planComment;
	}

	public void setPlanComment(String planComment) {
		this.planComment = planComment;
	}

	public int getUserId() {
		return userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}

	public String getUserNikeName() {
		return userNikeName;
	}

	public void setUserNikeName(String userNikeName) {
		this.userNikeName = userNikeName;
	}

	@Override
	public String toString() {
		return "Comment [createTime=" + createTime + ", planId=" + planId
				+ ", planComment=" + planComment + ", userId=" + userId
				+ ", userNikeName=" + userNikeName + "]";
	}
}
